#ifndef _microMemory_H_
#define _microMemory_H_

#include "stdint.h"


/* 字节对齐 */
#define MR_MEMORY_ROUNDUP_VALUE     8
/* 使x对n字节对齐 */
#define mrMemoryRoundUp(x, n)       (((x) + (n) - 1) & (~((n) - 1)))


void *pvMrMemoryMalloc(int32_t iSize);
void *pvMrMemoryCalloc(int32_t iNumber, int32_t iSize);
void *pvMrMemoryRealloc(void *pvMem, int32_t iSize);
void vMrMemoryFree(void *pvMem);


#endif // DEVICESMEMHEAP_H_INCLUDED
